package com.woniu.cinema.vo;

import com.woniu.cinema.domain.HallType;
import com.woniu.common.annotation.Excel;

import java.util.List;

/**
 * @author 杨光
 * @date 2022年04月06日 14:13
 */
public class CinemaVo {
    private static final long serialVersionUID = 1L;

    /** 电影院id */
    private Integer cinemaId;

    /** 电影院名称 */
    @Excel(name = "电影院名称")
    private String cinemaName;

    /** 电话 */
    private String cinemaPhone;

    /** 区域 */
    private Integer cinemaArea;

    /** 详细地址 */
    private String cinemaLocation;

    /** 品牌 */
    private Integer cinemaBrand;

    /** 影院照片 */
    private String cinemaImg;

    /** 影院所在城市 */
    private Integer cinemaCity;

    /** 经度 */
    private String cinemaLng;

    /** 纬度 */
    private String cinemaLat;

    /** 影院所在的省 */
    private Integer cinemaProvince;

    private String hallTypeStr;



    //影厅对象的列表
    private List<HallType> hallTypeList;


    public String getCinemaHallType(){
        StringBuilder sb  =  new StringBuilder();
        if(hallTypeList == null){
            return "";
        }
        for (HallType hallType : hallTypeList) {
            sb.append(hallType.getHtName()).append(" ");
        }
        return sb.toString();
    }

    public String getHallTypeStr() {
        return hallTypeStr;
    }

    public void setHallTypeStr(String hallTypeStr) {
        this.hallTypeStr = hallTypeStr;
    }

    public Integer getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(Integer cinemaId) {
        this.cinemaId = cinemaId;
    }

    public String getCinemaName() {
        return cinemaName;
    }

    public void setCinemaName(String cinemaName) {
        this.cinemaName = cinemaName;
    }

    public String getCinemaPhone() {
        return cinemaPhone;
    }

    public void setCinemaPhone(String cinemaPhone) {
        this.cinemaPhone = cinemaPhone;
    }

    public Integer getCinemaArea() {
        return cinemaArea;
    }

    public void setCinemaArea(Integer cinemaArea) {
        this.cinemaArea = cinemaArea;
    }

    public String getCinemaLocation() {
        return cinemaLocation;
    }

    public void setCinemaLocation(String cinemaLocation) {
        this.cinemaLocation = cinemaLocation;
    }

    public Integer getCinemaBrand() {
        return cinemaBrand;
    }

    public void setCinemaBrand(Integer cinemaBrand) {
        this.cinemaBrand = cinemaBrand;
    }

    public String getCinemaImg() {
        return cinemaImg;
    }

    public void setCinemaImg(String cinemaImg) {
        this.cinemaImg = cinemaImg;
    }

    public Integer getCinemaCity() {
        return cinemaCity;
    }

    public void setCinemaCity(Integer cinemaCity) {
        this.cinemaCity = cinemaCity;
    }

    public String getCinemaLng() {
        return cinemaLng;
    }

    public void setCinemaLng(String cinemaLng) {
        this.cinemaLng = cinemaLng;
    }

    public String getCinemaLat() {
        return cinemaLat;
    }

    public void setCinemaLat(String cinemaLat) {
        this.cinemaLat = cinemaLat;
    }

    public Integer getCinemaProvince() {
        return cinemaProvince;
    }

    public void setCinemaProvince(Integer cinemaProvince) {
        this.cinemaProvince = cinemaProvince;
    }

    public List<HallType> getHallTypeList() {
        return hallTypeList;
    }

    public void setHallTypeList(List<HallType> hallTypeList) {
        this.hallTypeList = hallTypeList;
    }
}
